const Index = option => {
    const { t='提示', c='确认提交', ok, no } = option || {}
    wx.showModal({ 
        title:t,
        content:c,
        success: res => {
            if(res.confirm){ ok?.() }
            else if(res.cancel){ no?.() }
        }
    })
}
export default Index